home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
003
/
bulktext
/
!BulkSplit
/
!Help
next >
Wrap
Text File
|
1994-05-03
|
3KB
|
81 lines
BulkSplit - reverse action of BulkJoin
----------------------------------------
This application takes a "bulktext" file and splits it
up into the individual component files. The file may
have been created by the Archimedes version of the
BulkJoin application, but may also have been created by
the mainframe version of BulkJoin and then downloaded
(in which case the download file transfer program must
convert from EBCDIC to ASCII coding as necessary).
BulkSplit also converts DOS CRLF end of line codes to
the Archimedes standard of LF.
How to use BulkSplit
--------------------
Install the BulkSplit icon on the icon bar in the usual
way. Click select once on the icon to open the setup
dialog box. Drag the input "bulktext" file to the box
labelled "Input" and the directory where the output
files are to be created, to the box labelled "Output".
Enter the file-type to be assigned to the created files
in the box labelled "Output file type" - this can be in
either hex (e.g. ffd) or text (e.g. "data"). Specify the
maximum file size (used when obtaining a work buffer) in
the box labelled "Max output file size". Then click on
the "Run" button to start processing.
Using BulkSplit from the Command line
-------------------------------------
BulkSplit can also be used from the command line (or
more likely, from within command scripts).
Syntax: *BulkSplit bulktextfile outputdir [options]
options can be one or more of the following:
-b nnnn - specifies the maximum output file
size in K.
-t xxxx - specifies the output file type as
text or in hexadecimal.
Technical information
---------------------
BulkSplit recognises special markers in the input file
which indicate the start of the next "file". These
markers are created by BulkJoin and have the format:
@@@@---> filename
If any of the data in the file happens to include a line
starting with "@@@@--->", then BulkSplit will be fooled
into thinking it is the start of a new "file".
BulkSplit was written in C and compiled with the
AcornSoft ANSI C Compiler Version 4. It requires the
Acorn Floating Pointer Emulator and Shared C Library
relocatable modules to be installed. The !BulkSplit
application runs under the Acorn DDE environment.
Copyright notice
----------------
BulkSplit is FREEWARE. The copyright remains with Paul
Witheridge.
Permission is granted by the author to any recipient of
this material to use and make/disseminate copies of the
application provided that no charges are made for doing
so except (a) to cover any cost of media or postage, or
(b) nominal fees levied by public domain libraries, and
that this notice is included with all copies.
Paul Witheridge
1 Ragmans Close
Marlow Bottom
Marlow
Bucks
SL7 3QW
27 July 1993